
export default class properties {
    constructor() {
      this.records = []
    }  
    static create() {
      return new properties()
    }
    set(records) {
      this.records = records
    }
    add(tpl=properties.tpl()) {
      this.records.push(tpl)
    }
    tpl() {
        return properties.tpl()
    }
    static tpl() {
      return {
        group: ['general'],
        code: '',           // s0-s7, d0-d7, i0-i7, b0-b7, d0-d7
        name: '',
        type: 'String',     // { String, Double, Integer, Boolean, DateTime }
        // defaultValue: '',
        comments: '',
      }
    }
  }